package base;

public enum MESS_TYPE {
	NORMAL(0),SEQ(1),TIMING(2),EXC(3);
	
	private int value = 0;

    private MESS_TYPE(int value) {    
        this.value = value;
    }

    public static MESS_TYPE valueOf(int value) {    
        switch (value) {
        case 0:
            return NORMAL;
        case 1:
            return SEQ;
        case 2:
            return TIMING;
        case 3:
            return EXC;
        default:
            return null;
        }
    }

    public int value() {
        return this.value;
    }
}
